package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ PmsCategoryBrandRelationModel = (*customPmsCategoryBrandRelationModel)(nil)

type (
	// PmsCategoryBrandRelationModel is an interface to be customized, add more methods here,
	// and implement the added methods in customPmsCategoryBrandRelationModel.
	PmsCategoryBrandRelationModel interface {
		pmsCategoryBrandRelationModel
	}

	customPmsCategoryBrandRelationModel struct {
		*defaultPmsCategoryBrandRelationModel
	}
)

// NewPmsCategoryBrandRelationModel returns a model for the database table.
func NewPmsCategoryBrandRelationModel(conn sqlx.SqlConn) PmsCategoryBrandRelationModel {
	return &customPmsCategoryBrandRelationModel{
		defaultPmsCategoryBrandRelationModel: newPmsCategoryBrandRelationModel(conn),
	}
}
